public class Dog extends Animal{
    public Dog(String name,int age){
        this.name = name;
        this.age = age;
    }
    void bark(){
        System.out.println(name+"汪汪");
    }
}
